<?php
	header('Access-Control-Allow-Origin: *');
	$user = $_POST["username"];
	$pwd = $_POST["userpwd"];
	if($user == "12312312312"){
		if($pwd == "123456"){
			echo 1;
		}else{
			echo 2;
		}
		
	}else{
		echo 0;
	}
	
?>	

